//
//  YZFasterPopView.h
//  VET
//
//  Created by 刘文靖 on 2018/7/26.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YZFasterPopItem;
typedef void (^didSelectItemBlock) (YZFasterPopItem * item);
@interface YZFasterPopView : UIView
/**
 *  直接显示一个popView在某个view上
 *
 *  @param view       父view
 *  @param imageArray 图标数组
 *  @param titles     标题数组
 *  @param block      回调
 *  @return pop视图
 */
+ (instancetype)showToView:(UIView *)view andImages:(NSArray *)imageArray andTitles:(NSArray *)titles andSelectBlock:(didSelectItemBlock)block;

+ (instancetype)showToView:(UIView *)view withItems:(NSArray *)array andSelectBlock:(didSelectItemBlock)block;
- (void)hide;
@end
